GlobalPayments\WooCommercePaymentGatewayProvider\Gateways\GpApiGateway C

Total Complexity 111
Dependencies 21
Dependents 9
Total lines 1,006
Lines of code 663
Logical lines of code 217
Comment lines 208
Methods 32
Properties 20

Methods 32

Method Rating Maintainability Complexity Lines of code
get_gateway_form_fields()
A
29 2 182
add_hooks()
A
40 7 68
woocommerce_globalpayments_gpapi_settings()
A
52 9 24
process_threeDSecure_challengeNotification()
A
45 7 42
three_d_secure_required()
S
52 7 18
renew_subscription()
S
51 6 26
get_valid_notification_url()
S
57 6 16
process_threeDSecure_methodNotification()
S
50 5 31
after_checkout_validation()
S
59 6 13
payment_fields()
S
56 4 16
needs_setup()
S
65 5 9
process_payment()
S
63 5 10
handle_adding_capture_order_action()
S
60 4 13
get_frontend_gateway_options()
S
53 3 23
init_form_fields()
S
54 3 22
get_helper_params()
S
58 3 15
get_backend_gateway_options()
S
52 2 24
__construct()
S
68 3 7
get_transient_name()
S
65 3 9
secure_payment_fields()
S
59 2 15
process_threeDSecure_checkEnrollment()
S
62 2 12
process_threeDSecure_initiateAuthentication()
S
63 2 11
secure_payment_fields_config()
S
72 2 6
secure_payment_fields_styles()
S
72 2 6
getThreedsecureFields()
S
72 2 6
get_three_d_secure_display_text()
S
70 2 7
is_hpp_mode()
S
79 2 3
get_payment_methods()
S
64 1 12
configure_method_settings()
S
72 1 5
get_first_line_support_email()
S
82 1 3
get_access_token()
S
73 1 5
handle_avs_cvn_response_codes()
S
77 1 4